/**
 * Bestpay.com.cn Inc.
 * Copyright (c) 2011-2018 All Rights Reserved.
 */
package com.sgzn.sgpay.model.response.result;

import com.sgzn.sgpay.model.response.result.util.PageResponse;
import com.sgzn.sgpay.model.response.vo.DeviceVo;
import com.sgzn.sgpay.persistence.domain.TDevice;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import java.io.Serializable;
import java.util.List;

/**
 * 登录响应信息
 * @author zhongzhongyong
 * @version Id: LoginResult.java, v 0.1 2018/4/5 13:57 zhongzhongyong Exp $$
 */
@ToString
@Data
@EqualsAndHashCode()
public class DevicePageListResult extends PageResponse{

    private static final long serialVersionUID = 1L;

    /**
     * 设备列表
     */
    private List<DeviceVo> deviceList;

    /**
     * 所有设备总数
     */
    private int allNum;

    /**
     * 在线设备总数
     */
    private int onlineNum;

    /**
     * 离线设备总数
     */
    private int offlineNum;

    /**
     * 门店总数
     */
    private int shopNum;

    public DevicePageListResult() {
        super();
        super.setTotalCount(0);
        super.setTotalPage(0);
    }
}
